<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<th:block th:fragment="footer">
    <footer class="site-footer || js-scroll js-printed-checker">
        <div class="site-footer__info">
            <div class="position-center">
                <div class="info__left">
                    <h2 class="info__title || title title-1 title-1--small" th:text="${companyProfile.name}">钉耙精密仪器（深圳）有限公司</h2>
                    <h3 class="info__sub-title">Contact us</h3>
                    <ul class="info__phone">
                        <li>Tel: <th:block th:text="${companyProfile.tel}"></th:block> </li>
                        <li>Phone: <th:block th:text="${companyProfile.fax}"></th:block> </li>
                    </ul>
                    <p class="info__address">地址：<th:block th:text="${companyProfile.address}"></th:block></p>
                    <p class="info__address">Add: <th:block th:text="${companyProfile.addressEn}"></th:block></p>
                </div>
                <div class="info__right">
                    <div class="nav component-nav-pages">
                        <ul id="menu-footer" class="nav__list">
                            <li class="nav__item" th:each="m: ${menus}"><a th:href="${m.href}" th:text="${session.lang == 'en' ? m.titleEn : m.title}">产品与方案</a></li>

                        </ul>
                    </div>
                    <div class="info__social">
                        <p>友情链接：<a th:href="${companyProfile.friendLink}" target="_blank" th:text="${companyProfile.friendLinkName}">耐可视官网</a></p>
                    </div>
                    <form class="footer__newsletter2" action="#" method="post">
                        <h3 class="newsletter__title || txt-uppercase">如果您有任何疑问与合作请与我们联系</h3>
                        <label>
                            <input class="newsletter__input" placeholder="Enter your email address" type="email" name="email"/>
                            <input type="hidden" name="submit">
                            <button class="newsletter__button footer_subscription" id="submit" type="button">
                              <span class="btn__line__container">
                                <div class="pub-f-line">
                                  <img src="/public/images/r-line-w.png" alt="">
                                </div>
                              </span>
                            </button>
                        </label>
                        <p class="form__message">Thank you!</p>
                    </form>
                </div>
            </div>
        </div>
        <aside class="site-footer__bottom">
            <div class="position-center">
                <p>NOVEL CoppyRight ©2021-2022 <th:block th:text="${companyProfile.name}"></th:block> 版权所有 <a href="https://www.beian.miit.gov.cn"> <th:block th:text="${companyProfile.beian}"></th:block> </a>
                    <a href="falv.php">法律声明</a>
                    <script type="text/javascript">
                        document.write(unescape(
                            "%3Cspan id='cnzz_stat_icon_1280183050'%3E%3C/span%3E%3Cscript src='https://s9.cnzz.com/z_stat.php%3Fid%3D1280183050%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"
                        ));
                        $(function(){
                            $(".footer_subscription").click(function(){
                                var _email = $("[name='email']").val();
                                if(_email == '') {
                                    $("[name='email']").focus()
                                    alert("请输入email");
                                    return;
                                }
                                $.post("/subscription", {"email" : _email}, function(resp){
                                    alert("提交成功");
                                })
                            })
                        })
                    </script>
                </p>
            </div>
        </aside>
    </footer>
    <script type="text/javascript" src="/public/js/index.js"></script>
    <script type="text/javascript" src="/public/js/vendors.min.js"></script>
    <script type="text/javascript" src="/public/js/min.js"></script>
    <script type="text/javascript" src="/public/js/wp-embed.min.js"></script>
</th:block>